﻿namespace EasyToolkit.BindingTemplates.SortAndFilter
{
    using System;
    using System.Collections.Generic;
    using EasyToolkit.BindingTemplates.Definitions;

    public interface ISortAndFilter
    {
        ITemplateDefinition TemplateDefinition { get; }
        IEnumerable<FilterElement> Filters { get; }
        IEnumerable<ISortElement> Sorters { get; }
        Type ResultType { get; }
        object ExecuteSortAndFilter(IEnumerable<object> param);
    }
}
